Partial Class AdminMasterPage
    Inherits System.Web.UI.MasterPage

    Protected Sub System_Users_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles System_Users_btn.Click
        Response.Redirect("~/Admin/System_Users.aspx")
    End Sub

    Protected Sub User_Roles_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles User_Roles_btn.Click
        Response.Redirect("~/Admin/User_Roles.aspx")
    End Sub

    Protected Sub Module_Access_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Module_Access_btn.Click
        Response.Redirect("~/Admin/Module_Access.aspx")
    End Sub

    Protected Sub Brokers_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Brokers_btn.Click
        Response.Redirect("~/Admin/Brokers.aspx")
    End Sub

    Protected Sub Providers_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Providers_btn.Click
        Response.Redirect("~/Admin/Providers.aspx")
    End Sub

    Protected Sub Products_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Products_btn.Click
        Response.Redirect("~/Admin/Products.aspx")
    End Sub

    Protected Sub AdvisorLevels_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles AdvisorLevels_btn.Click
        Session("LookUp") = "Advisor Levels"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub BeneficiaryRanking_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BeneficiaryRanking_btn.Click
        Session("LookUp") = "Beneficiary Ranking"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub Cities_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Cities_btn.Click
        Response.Redirect("~/Admin/Add_Cities.aspx")
    End Sub

    Protected Sub ClientTypes_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ClientTypes_btn.Click
        Session("LookUp") = "Client Types"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub CorrespondenceStatus_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles CorrespondenceStatus_btn.Click
        Session("LookUp") = "Correspondence Status"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub Countries_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Countries_btn.Click
        'Session("LookUp") = "Countries"
        'Response.Redirect("~/Admin/Add_General_LookUp.aspx")
        Response.Redirect("~/Admin/Countries.aspx")
    End Sub

    Protected Sub Departments_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Departments_btn.Click
        Session("LookUp") = "Departments"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub FormsofPayment_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles FormsofPayment_btn.Click
        Session("LookUp") = "Forms of Payment"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub FrequencyofPayment_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles FrequencyofPayment_btn.Click
        'Session("LookUp") = "Frequency of Payment"
        'Response.Redirect("~/Admin/Add_General_LookUp.aspx")
        Response.Redirect("~/Admin/Add_Freq.aspx")
    End Sub

    Protected Sub FundCurrency_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles FundCurrency_btn.Click
        Session("LookUp") = "Fund Currency"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub Funds_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Funds_btn.Click
        Response.Redirect("~/Admin/Add_Funds.aspx")
    End Sub

    Protected Sub IDTypes_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles IDTypes_btn.Click
        Session("LookUp") = "ID Types"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub IssueStatus_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles IssueStatus_btn.Click
        Session("LookUp") = "Issue Status"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub MaritalStatus_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles MaritalStatus_btn.Click
        Session("LookUp") = "Marital Status"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub MedicalRating_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles MedicalRating_btn.Click
        Session("LookUp") = "Medical Rating"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub Nationalities_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Nationalities_btn.Click
        Session("LookUp") = "Nationalities"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub PaymentStatus_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles PaymentStatus_btn.Click
        Session("LookUp") = "Payment Status"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub PlanTypes_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles PlanTypes_btn.Click
        Session("LookUp") = "Plan Types"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub PolicyStatus_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles PolicyStatus_btn.Click
        Session("LookUp") = "Policy Status"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub Riders_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Riders_btn.Click
        Response.Redirect("~/Admin/Add_Riders.aspx")
    End Sub

    Protected Sub RiskProfile_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles RiskProfile_btn.Click
        Response.Redirect("~/Admin/Add_RiskProfile_Header.aspx")
    End Sub

    Protected Sub SmokingStatus_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles SmokingStatus_btn.Click
        Session("LookUp") = "Smoking Status"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub SourceofFunds_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles SourceofFunds_btn.Click
        Session("LookUp") = "Source of Funds"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub Relationship_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Relationship_btn.Click
        Session("LookUp") = "Relationship"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
    End Sub

    Protected Sub Users_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Users_btn.Click
        If Users_Panel.Visible = True Then
            Users_Panel.Visible = False
        Else
            Users_Panel.Visible = True
        End If
    End Sub

    Protected Sub Affiliates_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Affiliates_btn.Click
        If Affiliates_Panel.Visible = True Then
            Affiliates_Panel.Visible = False
        Else
            Affiliates_Panel.Visible = True
        End If
    End Sub

    Protected Sub Lookup_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Lookup_btn.Click
        If Lookup_Panel.Visible = True Then
            Lookup_Panel.Visible = False
        Else
            Lookup_Panel.Visible = True
        End If
    End Sub

    Protected Sub Signout_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Signout_btn.Click
        Session.RemoveAll()
        Response.Redirect("~/SignIn.aspx")
    End Sub

  Protected Sub CommissionRate_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles CommissionRate_btn.Click
    Response.Redirect("~/Admin/Add_CommRate.aspx")
  End Sub

  Protected Sub CommissionStatus_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles CommissionStatus_btn.Click
    Session("LookUp") = "Commission Status"
    Response.Redirect("~/Admin/Add_General_LookUp.aspx")
  End Sub

  Protected Sub CommissionType_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles CommissionType_btn.Click
        Session("LookUp") = "Commission Type"
        Response.Redirect("~/Admin/Add_General_LookUp.aspx")
  End Sub

    Protected Sub AR_Start_btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles AR_Start_btn.Click
        Response.Redirect("~/Admin/AR_No.aspx")
    End Sub

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        If utility_panel.Visible = True Then
            utility_panel.Visible = False
        Else
            utility_panel.Visible = True
        End If
    End Sub
End Class